<?php

namespace App\Http\Controllers;

use App\Models\Account;
use Illuminate\Http\Request;

class AccountController extends Controller
{
    public function meituan(Request $request){
        $cookie = $request->input("cookie");
        $account = Account::query()->where("plamt","mt")->first();
        $account->cookies = $cookie;
        $account->login_status = 1;
        $account->save();

        return $this->httpSuccess();
    }
}
